import http from "../utils/request"

// 添加角色
export let addroleApi =(roleid,token)=>http.post("/permission/addrole",{
    roleid,
    token
})

// 获取角色列表
export let getroleApi =(roleid,token)=>http.post("/permission/getrole",{
    roleid,
    token
})

// 获取权限菜单
export let getMenuListApi = ()=>http.get("/permission/getMenuList")